package com.smile.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smile.model.dto.request.*;
import com.smile.model.response.response.GetAirportByIdResponseDTO;
import com.smile.model.response.response.GetAirportInfoResponseDTO;
import com.smile.model.response.response.GetAirportListResponseDTO;

import java.io.IOException;

/**
 * 机场详情
 */
public interface AirportInfoService {
    Boolean addAirportInfo(AddAirportInfoRequestDTO  addAirportInfoRequestDTO) throws IOException;

//    Page<GetAirportListResponseDTO> getAirportList(GetAirportListRequestDTO getAirportListRequestDTO);
//
    Boolean editAirportInfo(EditAirportInfoRequestDTO  editAirportInfoRequestDTO) throws IOException;
//
//    GetAirportByIdResponseDTO getAirportById(GetAirportByIdRequestDTO getAirportByIdRequestDTO);
    GetAirportInfoResponseDTO getAirportInfoByGatewaySn(GetAirportInfoRequestDTO getAirportInfoRequestDTO);
    GetAirportInfoResponseDTO getAirportInfoById(GetAirportInfoRequestDTO getAirportInfoRequestDTO);
//
//    Boolean deleteAirport(Long id);
}
